<?PHP
// Arkona Integraion Class Test Script
require("/home/opentrack/lib/ArkonaInterop.php");

$AX				=	new ArkonaDMS_Interop;

/* $add_fields	=	array(	"LastName"=>"Rich", 
						"FirstName"=>"Jarrett",
						"TypeCode"=>"I", 
						"Salutation"=>"Mr.", 
						"CellPhone"=>"9164512255", 
						"BusinessPhone"=>"5302321234",
						"FaxNumber"=>"5302461660",
						"AllowContactByEmail"=>"Y", 
						"OptionalField"=>"A104",
						"Email1"=>"jarrett@example.com"
				 );	
*/				 
			 
$add_fields	=	array(	"TypeCode"=>"I",
						"LastName"=>"Kachi", 
						"FirstName"=>"Robert",
						"MiddleName"=>"Vince",
						"Address1"=>"555 Cypress Ave",
						"City"=>"Redding",
						"StateCode"=>"CA",
						"ZipCode"=>"96001",
						"PhoneNumber"=>"5302321111",
						"CellPhone"=>"5305109891",
						"FaxNumber "=>"5302461660",
						"BirthDate"=>"19700101",
						"Email1"=>"kachi.robert@gmail.com",
						"Email2"=>"email2@gmail.com",
						"MailCode"=>"Y",
						"PreferredContact"=>"P"
				 );					 

print_r(Customer::CustomerAdd($add_fields));

exit();
?>